// every:判断数组元素是否满足给定条件，所有满足返回true,反之false,一旦不满足停止检测
let ages = [32, 33, 16, 40];

let res = ages.every((item) => {
  return item > 18;
});
console.log(res);
